Searching in the current document You can use Find & Replace in Layout, Outline, or Source view. Depending on the view, you can search for text and HTML code elements in the current document. Once you find what you're looking for, you can automatically change it to something else. You can also search for selected text without opening the Find dialog box. Note: Although you can use Find & Replace to search for HTML tags, the Element tab in the Find dialog offers a more powerful approach that performs more than simple find and replace operations. See Finding HTML code elements for additional details. To find and change text in the current document: 1 Choose Edit > Find, and click the Find & Replace tab if necessary. 2 Do one of the following: Note: If the amount of text entered is more than the text box can display, you can either scroll through the text or click the Edit button next to the text box to display the text in a resizeable Edit dialog where you can easily edit the content without scrolling. ![]() Previously used search strings appear in the search history menu along with defined regular expressions.
3 Select options to customize your search: Note: Do not use Regular Expression unless you understand wildcard searching. This powerful option can cause unexpected results, especially if you plan to search for and replace multiple items. 4 To replace the text, expand the Replace section of the dialog by clicking the small triangle, and either type in text or choose an item from the search history list in the Replace pop-up menu. Note: If the amount of text entered is more than the text box can display, you can either scroll through the text or click the Edit button next to the text box to display the text in a resizeable Edit dialog where you can easily edit the content. 5 Click Find to start searching your document. Adobe GoLive highlights the first match, if any. Depending on your Find preferences, the Find dialog box moves to the background or stays in the foreground. For more information, see Setting Find preferences. 6 Continue searching: To search for selected text in the current document without opening the Find dialog box: 1 In Layout, Source, or Preview view, select the desired text in your document. The selection must be located within the same paragraph. 2 Choose Edit > Find Selection. Adobe GoLive starts looking for selected text from the current selection and highlights the next occurrence of the text using the current settings in the Find dialog box.
To find and replace text or HTML code elements in multiple files: 1 Choose Edit > Find, and click the Find & Replace tab if necessary. 2 With the site window open, type in text or HTML code, and select search options. Note: If you plan to do a global search and replace in multiple files, you should be sure to make a backup of your files and site, especially if you are using wildcard characters or Regular Expression. 3 Click the triangle next to Find in Files, and do one of the following to define the scope of your search: ![]() 4 Select options to customize your search: Important: Be careful about selecting Source Mode if you plan to use the search and replace function. If you select Source Mode, Adobe GoLive finds and replaces any occurrence of the text, whether it is visible document content or HTML code. For example, if you search for and replace the word "Traveler" in all project files with Source Mode selected, Adobe GoLive replaces that word in hyperlinks pointing at a filename (for example, Frequent-Traveler.html), disrupting links in the process. 5 Click Find to start searching the selected file or files. Adobe GoLive shows you the first file found containing matching text. Adobe GoLive opens the file. 6 Continue searching by doing one of the following: While Adobe GoLive searches selected files or folders, a moving arrow in the Files list indicates the file currently being searched, and a number to the right of the filename indicates how many occurrences have been found. ![]() A. The small arrow indicates the file currently being searched. B. Numbers displayed in the Hits column indicate the number of matches in the file.
7 Search for and replace text. Note: You'll receive a warning message if Adobe GoLive is unable to save while searching and replacing a file. You can choose to cancel the operation or allow Adobe GoLive to continue. Searching > Searching within a document and within a site > Searching in the current document |